package com.hgd.evp.admin.biz;

import com.hgd.evp.common.utils.ObjectResultResponse;
import org.springframework.stereotype.Service;

import com.hgd.evp.admin.entity.EGroupUser;
import com.hgd.evp.admin.mapper.EGroupUserMapper;
import com.hgd.evp.common.biz.BusinessBiz;

/**
 * 
 *
 * @author By Shang
 * @email ${email}
 * @version 2019-01-01 22:49:10
 */
@Service
public class EGroupUserBiz extends BusinessBiz<EGroupUserMapper,EGroupUser> {
    /**
     * 添加记录
     * @param eGroupUser 待添加记录
     * @return 结果
     */
    public ObjectResultResponse<Void> addEGroupUser(EGroupUser eGroupUser) {
        ObjectResultResponse<Void> oResult=new ObjectResultResponse<>();
        this.insertSelectiveBindCrt(eGroupUser);
        oResult.setMessage("添加用户--组记录成功");
        return oResult;
    }
}